//===============================================================================
// Q4Tech Engineering Team
// Mobile Updater Application Block - November 2006
//===============================================================================
// Copyright  Q4Tech Informatica Argentina.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Q4Tech.Engineering.UpdaterAgent.UpdaterView;
using System.Drawing;

namespace Q4Tech.Engineering.UpdaterAgent
{
	static class Program
	{

		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[MTAThread]
		static void Main()
		{
#if Smartphone
            UpdaterViewPresenter presenter = new UpdaterViewPresenter();
            presenter.View = new UpdaterViewSP();

            Application.Run((UpdaterViewSP)presenter.View);
#else
            UpdaterViewPresenter updaterPresenter = new UpdaterViewPresenter();
            updaterPresenter.SetProperView(true);

            Application.Run((Form)updaterPresenter.View);
#endif 

           
		}
	}
}